package com.steakliu.netty.thread;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 功能说明：
 * <p>
 * Original @Author: steakliu-刘牌, 2022-09-04  18:05
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@Setter
@Getter
public class JobThread extends Thread{
    private String jobId;
    private String jobName;

    public JobThread(String jobId , String jobName){
        this.jobId = jobId;
        this.jobName = jobName;
        this.setName("job_thread_");
        System.out.println("test");
    }

    @Override
    public void run() {
        while (true){
            System.err.println("监听任务，--------------------");
        }
    }
}
